import math

class Point(object):
  def __init__(self, x=0, y=0, z=0):
    self.x = x
    self.y = y
    self.z = z

  def __repr__(self):
    return "p("+str(self.x)+", "+str(self.y)+", "+str(self.z)+")"

    def _get_x(self):        
        return self._x
    def _set_x(self, x):
        self._x = x
    x = property(_get_x, _set_x)

    def _get_y(self):
        return self._y
    def _set_y(self, y):
        self._y = y
    y = property(_get_y, _set_y)

    def _get_z(self):
        return self._z
    def _set_z(self, z):
        self._z = z
    z = property(_get_z, _set_z)
